package com.hs.egova.util;

import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

/**
 * @author husheng
 * @version v1.0
 * @date 2021/7/27 15:33
 * @email husheng@egova.com.cn
 */
@Slf4j
public class MainTest {
    public static void main(String[] args) {
        ResourcePoolConfig resourcePoolConfig = new ResourcePoolConfig.Builder()
                .setMaxIdel(1500)
                .setName("555")
                .setMinIdel(56)
                .build();

        ResourcePoolConfigNew resourcePoolConfigNew = ResourcePoolConfigNew.builder()
                .maxIdel(55)
                .maxTotal(400)
                .name("测试builder")
                .minIdel(22)
                .build();
        log.info(resourcePoolConfigNew.getName());
    }
}
